package cn.gson.work.model.mapper;

import cn.gson.work.model.pojos.Tfiles;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TfilesMapper {
    public List<Tfiles> findTfiles(@Param("fid") String fid, @Param("fname") String fname,
                                   @Param("fsecurity") String fsecurity, @Param("fborrower") String fborrower);
    public void addTfiles(Tfiles tfiles);
    public void editTfiles(Tfiles tfiles);
    public int delTfiles(int fno);
    public Tfiles findTfilesByNo(int fno);
}
